package com.designPattern.facade;

/**
 * Created with IntelliJ IDEA.
 * User: lxf
 * Date: 2016/5/12
 * Time: 15:15
 * To change this template use File | Settings | File Templates.
 */
public class Facade {

    /**
     * 专门组装电脑的店家，才关心电脑的具体细节
     * 外观对象，提供给客户端调用
     * 内部实现会调用多个模块
     */
    public void test() {
        AModule a = new AModuleImpl();
        a.methodA();
        BModule b = new BModuleImpl();
        b.methodB();
        CModule c = new CModuleImpl();
        c.methodC();
    }

}
